import { defineStore } from "pinia";

export const useUserInfoStore = defineStore("userInfo", {
    state: ()=> {
        return {
            token: "",
            realName: "",
            account: "",
            avatarUrl: ""
        }
    },
    persist: {
        storage:sessionStorage,
    }
})